package org.example.myleet.p952;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(8 == solution.largestComponentSize(new int[]{99,68,70,77,35,52,53,25,62}));
        Assert.isTrue(6 == solution.largestComponentSize(new int[]{1,2,3,4,5,6,7,8,9}));
        Assert.isTrue(4 == solution.largestComponentSize(new int[]{4,6,15,35}));
        Assert.isTrue(2 == solution.largestComponentSize(new int[]{20,50,9,63}));
        Assert.isTrue(8 == solution.largestComponentSize(new int[]{2,3,6,7,4,12,21,393}));
    }
}
